package com.supermap.originTest;


import com.supermap.data.*;


public class TestDaoru {

    /**
     * 程序入口点
     * The entrance of the programme.
     */
    public static void main(String[] args) {



		
		Workspace m_workspace = new Workspace();
		WorkspaceConnectionInfo conInfo = new WorkspaceConnectionInfo(
				"E:\\MapData\\202408\\tongfei\\tf_mygw_bak.smwu");
		conInfo.setType(WorkspaceType.SMWU);
		m_workspace.open(conInfo);

		Datasource datasource =m_workspace.getDatasources().get(0);
		DatasetVector datasetVector = (DatasetVector)datasource.getDatasets().get(0);
		Recordset recordset = datasetVector.getRecordset(false, CursorType.DYNAMIC);
		recordset.edit();
		recordset.deleteAll();
		






	}


}  

